// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include <RcppArmadillo.h>
#include <Rcpp.h>

using namespace Rcpp;

// dynamics
Rcpp::List dynamics(const arma::mat& samples, const arma::mat& y, const arma::mat& x, const int p, const int h, const bool verbose, const int check_nth, const bool scale_by_mean);
RcppExport SEXP _bapvar_dynamics(SEXP samplesSEXP, SEXP ySEXP, SEXP xSEXP, SEXP pSEXP, SEXP hSEXP, SEXP verboseSEXP, SEXP check_nthSEXP, SEXP scale_by_meanSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< const arma::mat& >::type samples(samplesSEXP);
    Rcpp::traits::input_parameter< const arma::mat& >::type y(ySEXP);
    Rcpp::traits::input_parameter< const arma::mat& >::type x(xSEXP);
    Rcpp::traits::input_parameter< const int >::type p(pSEXP);
    Rcpp::traits::input_parameter< const int >::type h(hSEXP);
    Rcpp::traits::input_parameter< const bool >::type verbose(verboseSEXP);
    Rcpp::traits::input_parameter< const int >::type check_nth(check_nthSEXP);
    Rcpp::traits::input_parameter< const bool >::type scale_by_mean(scale_by_meanSEXP);
    rcpp_result_gen = Rcpp::wrap(dynamics(samples, y, x, p, h, verbose, check_nth, scale_by_mean));
    return rcpp_result_gen;
END_RCPP
}
// unit_dynamics
Rcpp::List unit_dynamics(const arma::mat& samples, const arma::mat& y, const arma::mat& x, const int p, const int h, const bool verbose, const int check_nth, const bool scale_by_mean);
RcppExport SEXP _bapvar_unit_dynamics(SEXP samplesSEXP, SEXP ySEXP, SEXP xSEXP, SEXP pSEXP, SEXP hSEXP, SEXP verboseSEXP, SEXP check_nthSEXP, SEXP scale_by_meanSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< const arma::mat& >::type samples(samplesSEXP);
    Rcpp::traits::input_parameter< const arma::mat& >::type y(ySEXP);
    Rcpp::traits::input_parameter< const arma::mat& >::type x(xSEXP);
    Rcpp::traits::input_parameter< const int >::type p(pSEXP);
    Rcpp::traits::input_parameter< const int >::type h(hSEXP);
    Rcpp::traits::input_parameter< const bool >::type verbose(verboseSEXP);
    Rcpp::traits::input_parameter< const int >::type check_nth(check_nthSEXP);
    Rcpp::traits::input_parameter< const bool >::type scale_by_mean(scale_by_meanSEXP);
    rcpp_result_gen = Rcpp::wrap(unit_dynamics(samples, y, x, p, h, verbose, check_nth, scale_by_mean));
    return rcpp_result_gen;
END_RCPP
}

static const R_CallMethodDef CallEntries[] = {
    {"_bapvar_dynamics", (DL_FUNC) &_bapvar_dynamics, 8},
    {"_bapvar_unit_dynamics", (DL_FUNC) &_bapvar_unit_dynamics, 8},
    {NULL, NULL, 0}
};

RcppExport void R_init_bapvar(DllInfo *dll) {
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
    R_useDynamicSymbols(dll, FALSE);
}
